package com.flipdf2.serialize;

import java.io.OutputStream;

import com.flipdf2.Document;
import com.flipdf2.Page;

public class XMLDocumentSerializer extends DocumentSerializer {

	private OutputStream stream;

	public XMLDocumentSerializer(OutputStream stream) {
		this.stream = stream;
	}

	public void serialize(Document doc) {
		int n = doc.getPageCount();
		for (int i = 0; i < n; i++) {
			Page page = doc.getPage(i);
			serializePage(page);
		}
	}

	private void serializePage(Page page) {

	}
}
